-- GENERATED SPELL FOR [Glutinous Ooze] --


function spell0_6559(pUnit, Event) --@Acid Slime,Self--
pUnit:FullCastSpellOnTarget(14147,pUnit)
pUnit:RegisterEvent('Sorts_6559', 30000, 1)
end

function Sorts_6559(pUnit, Event)
local choix_sorts_6559 = math.random(0, 0)
if choix_sorts_6559 == 0 then
pUnit:RegisterEvent('spell0_6559', 1, 1)
end
end

function mob6559_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_6559', math.random(1500, 3000), 1)
end

function mob6559_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob6559_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob6559_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(6559, 1, 'mob6559_Action')
RegisterUnitEvent(6559, 2, 'mob6559_Leave')
RegisterUnitEvent(6559, 3, 'mob6559_Kill')
RegisterUnitEvent(6559, 4, 'mob6559_Die')
